package com.cch.cooperation.dao.zone.model;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 空间
 *
 * @author cch on 2024-09-18
 */
@ApiModel("空间")
@Data
public class Zone implements Serializable {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("空间类型（0.官方空间 1.用户空间）")
    private Integer type;

    @ApiModelProperty("创建用户id")
    private String createUserId;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    public static final String ID = "id";
    public static final String NAME = "name";
    public static final String CREATE_USER_ID = "create_user_id";
    public static final String CREATE_TIME = "create_time";
    public static final String UPDATE_TIME = "update_time";

}